.section .text
.global _start

_start:
    li a0, 0x200E00     # UART基地址
    # 等待发送就绪
wait:
    lw t0, 0x14(a0)     # 读取LSR
    andi t0, t0, 0x20   # 检查THRE位
    beqz t0, wait
    
    li a2, 0x65
    sw a2, 0x00(a0)     # 发送字符
    j wait